package com.hp.ssmp.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class TCommentReply {
  @TableId(value = "REPLYID",type = IdType.AUTO)
  private Long replyid;
  private Long userid;
  private Long commentid;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date replytime;
  private String replycontent;


  public Long getReplyid() {
    return replyid;
  }

  public void setReplyid(Long replyid) {
    this.replyid = replyid;
  }


  public Long getUserid() {
    return userid;
  }

  public void setUserid(Long userid) {
    this.userid = userid;
  }


  public Long getCommentid() {
    return commentid;
  }

  public void setCommentid(Long commentid) {
    this.commentid = commentid;
  }


  public Date getReplytime() {
    return replytime;
  }

  public void setReplytime(Date replytime) {
    this.replytime = replytime;
  }


  public String getReplycontent() {
    return replycontent;
  }

  public void setReplycontent(String replycontent) {
    this.replycontent = replycontent;
  }

  @Override
  public String toString() {
    return "TCommentReply{" +
            "replyid=" + replyid +
            ", userid=" + userid +
            ", commentid=" + commentid +
            ", replytime=" + replytime +
            ", replycontent='" + replycontent + '\'' +
            '}';
  }
}
